<?php
class Portfoliomanager_Data_Insertportfolioitemmetavalues implements Portfoliomanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO portfolio_meta_values(item_name, item_meta_title, item_meta_description, item_meta_keywords) VALUES('".$variables['post']['item_name']."', '".$variables['post']['item_meta_title']."', '".$variables['post']['item_meta_description']."', '".$variables['post']['item_meta_keywords']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }
}
